<template>
  <div id="app">
    <!-- <div id="nav">
            <router-link to="/">备忘录</router-link>|
            <router-link to="/book">记账本</router-link>
    </div> -->
    <sidebar></sidebar>

  </div>
</template>

<script>
  import sidebar from './base/nav.vue'
  export default {
    components:{
        sidebar,
    },
    data() {
      return {
      }
    },
    methods: {
      
    },
  }
</script>

<style lang="scss">
.sidebar{
  width: 10%;
}
.viewcontent{
  width: 80%;
}
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  display: flex;
}
#nav {
  padding: 30px;
  a {
    font-weight: bold;
    color: #2c3e50;
    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>
